﻿using SS.Net.AppGen.Generators;
using SS.Common.DBBuilder.DBDataStructure;

namespace SS.Net.AppGen.Generatings
{
    /// <summary>
    /// The interface presents a generating
    /// </summary>
    public interface IGenerating
    {
        /// <summary>
        /// Data source for generating
        /// </summary>
        DataBase DB { get; set; }

        /// <summary>
        /// Interface of Generator
        /// </summary>
        IGenerator Generator { get; set; }

        /// <summary>
        /// This method will be overrided by concrete implementors
        /// </summary>
        void RequestToGenerate();
    }
}
